package com.hx.decorator.passport;

import com.hx.decorator.passport.old.SigninService;
import com.hx.decorator.passport.upgrade.ISignForThirdService;
import com.hx.decorator.passport.upgrade.SignForThirdServiceImpl;

/**
 * @author Huathy
 * @date 2021-09-05 16:40
 * @description
 */
public class DecoratorTest {
    public static void main(String[] args) {
        ISignForThirdService signForThirdService = new SignForThirdServiceImpl(new SigninService());
        signForThirdService.loginForQQ("10000");

    }
}
